// DrawRubberCtrler.h: interface for the CDrawRubberCtrler class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_DRAWRUBBERCTRLER_H__5F0D251B_E94A_43C3_8A67_5E8683520163__INCLUDED_)
#define AFX_DRAWRUBBERCTRLER_H__5F0D251B_E94A_43C3_8A67_5E8683520163__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "DrawObjectCtrler.h"

// used to erase sth. with rubber (control class)
class CDrawRubberCtrler : public CDrawObjectCtrler  
{
public:
	CDrawRubberCtrler( COLORREF color = UD_RED, int width = 1 );
	virtual ~CDrawRubberCtrler();

	void StartPoint (long x, long y);
	void MoveAt (CDC* pDC, long x, long y);
private:
	long m_x, m_y;		// recorde the current point's x, y
};

#endif // !defined(AFX_DRAWRUBBERCTRLER_H__5F0D251B_E94A_43C3_8A67_5E8683520163__INCLUDED_)
